package com.sgcc.system.api.domain;

import com.sgcc.common.core.annotation.Excel;
import com.sgcc.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * SysDistrict对象 sys_district
 * 
 * @author sgcc
 * @date 2021-03-22
 */
public class SysDistrict extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private String districtId;

    /** 名称 */
    @Excel(name = "名称")
    private String districtName;

    /** 编号 */
    @Excel(name = "编号")
    private String parentId;

    /** 父接地路径 */
    @Excel(name = "父接地路径")
    private String ancestors;

    /** $column.columnComment */
    @Excel(name = "父接地路径")
    private String orgId;

    /** $column.columnComment */
    @Excel(name = "父接地路径")
    private String type;

    private String isContain;

    @Excel(name = "单位简称")
    private String areaName;

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public String getIsContain() {
        return isContain;
    }

    public void setIsContain(String isContain) {
        this.isContain = isContain;
    }

    public void setDistrictId(String districtId)
    {
        this.districtId = districtId;
    }

    public String getDistrictId() 
    {
        return districtId;
    }
    public void setDistrictName(String districtName) 
    {
        this.districtName = districtName;
    }

    public String getDistrictName() 
    {
        return districtName;
    }
    public void setParentId(String parentId) 
    {
        this.parentId = parentId;
    }

    public String getParentId() 
    {
        return parentId;
    }
    public void setAncestors(String ancestors) 
    {
        this.ancestors = ancestors;
    }

    public String getAncestors() 
    {
        return ancestors;
    }
    public void setOrgId(String orgId) 
    {
        this.orgId = orgId;
    }

    public String getOrgId() 
    {
        return orgId;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("districtId", getDistrictId())
            .append("districtName", getDistrictName())
            .append("parentId", getParentId())
            .append("ancestors", getAncestors())
            .append("orgId", getOrgId())
            .append("type", getType())
            .toString();
    }
}
